package com.newasia.server.dal.persistence;

import com.newasia.server.dal.entitys.MonitorDetailBak;
import com.newasia.server.dal.entitys.MonitorDetailBakExample;
import com.newasia.server.dal.entitys.MonitorDetailBakWithBLOBs;
import java.util.List;

import com.newasia.server.dal.entitys.returnValue.MonitorState;
import org.apache.ibatis.annotations.Param;

public interface MonitorDetailBakMapper {
    long countByExample(MonitorDetailBakExample example);

    int deleteByExample(MonitorDetailBakExample example);

    int insert(MonitorDetailBakWithBLOBs record);

    int insertSelective(MonitorDetailBakWithBLOBs record);

    List<MonitorDetailBakWithBLOBs> selectByExampleWithBLOBs(MonitorDetailBakExample example);

    List<MonitorDetailBak> selectByExample(MonitorDetailBakExample example);

    int updateByExampleSelective(@Param("record") MonitorDetailBakWithBLOBs record, @Param("example") MonitorDetailBakExample example);

    int updateByExampleWithBLOBs(@Param("record") MonitorDetailBakWithBLOBs record, @Param("example") MonitorDetailBakExample example);

    int updateByExample(@Param("record") MonitorDetailBak record, @Param("example") MonitorDetailBakExample example);

    List<MonitorState> getMonitorsStatusByUserId(@Param("userId") Long userId);
}